package cn.tedu.micro.demo.order;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableFeignClients//开启feign组件客户端的注册功能 spring容器注册管理
@EnableDiscoveryClient//让进程 开启和nacos-server通信 2.X以上的版本 这个注解可选
public class OrderDemo {
    public static void main(String[] args) {
        SpringApplication.run(OrderDemo.class,args);
    }
}
